package com.shenzhenai.module_principles.demo3.before;

/**
 * @author huangzehui
 * @date 2025/8/13 13:55 周三
 * @description
 *
 * 14.设计模式-设计原则(依赖倒转原则概述和案例)
 * https://www.bilibili.com/video/BV1Yt4y1B7Cm?spm_id_from=333.788.player.switch&vd_source=e07cc8cc94eb22bd76722071b03cd199&p=14
 */
public class ComputerDemo {

    public static void main(String[] args) {
        Computer computer = new Computer();

        computer.setCpu(new IntelCpu());
        computer.setMemory(new KingstonMemory());
        computer.setHardDisk(new XiJieHardDisk());

        computer.run();
    }

}
